


package ciicos.work.model.workinfo;

import ciicos.util.generater.DataSwapUtil;
import com.alibaba.fastjson.annotation.JSONField;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;

import java.util.Date;

/**
 * @版本： V3.2.0
 * @版权：
 * @作者： 产研项目租
 * @日期： 2023-08-02
 */
@Data
public class WorkInfoListVO {
    private String id;

    private Integer status;

    private String noseason;

    @JSONField(name = "mobileimage")
    private String mobileimage;

    /**
     * 完成情况
     * */
    @JSONField(name = "finishStatus")
    private String finishStatus;

    @JSONField(name = "finishStatus_name")
    private String finishStatus_name;

    @JSONField(name = "confirmresult")
    private String confirmresult;

    @JSONField(name = "noreason")
    private String noreason;

    @JSONField(name = "flowtaskid")
    private String flowtaskid;


    /**
     * 创建用户
     **/
    @JSONField(name = "creatoruserid")
    private String creatoruserid;


    /**
     * 创建时间
     **/
    @JSONField(name = "creatortime")
    private Date creatortime;

    /**
     * 来源
     **/
    @JSONField(name = "source")
    private String source;

    /**
     * 多选组件重写get
     **/
    public void getSource(String source) {
        this.source = DataSwapUtil.convertValueToString(source, false, false);
    }

    /**
     * 资产
     **/
    @JSONField(name = "assetsinfoid")
    private String assetsinfoid;


    /**
     * 责任队
     **/
    @JSONField(name = "selectteam")
    private String selectteam;

    /**
     * 多选组件重写get
     **/
    public void getSelectteam(String selectteam) {
        this.selectteam = DataSwapUtil.convertValueToString(selectteam, false, false);
    }

    /**
     * 是否发布
     **/
    @JSONField(name = "enabledmark")
    private String enabledmark;


    /**
     * 问题
     **/
    @JSONField(name = "question")
    private String question;


    /**
     * 指导文件
     **/
    @JSONField(name = "files")
    private String files;


    /**
     * 处理人
     **/
    @JSONField(name = "handleuserid")
    private String handleuserid;

    /**
     * 多选组件重写get
     **/
    public void getHandleuserid(String handleuserid) {
        this.handleuserid = DataSwapUtil.convertValueToString(handleuserid, false, false);
    }

    /**
     * 处理时间
     **/
    @JSONField(name = "handletime")
    private Long handletime;
    /**
     * 处理结果
     **/
    @JSONField(name = "handleresult")
    private String handleresult;

    /**
     * 实际工时
     * */
    @JSONField(name = "realtime")
    private Double realtime;

    @JSONField(name = "starttime")
    private Date starttime;

    @JSONField(name = "endtime")
    private Date endtime;


    /**
     * 再发处理措施
     **/
    @JSONField(name = "prevent")
    private String prevent;


    /**
     * 图片
     **/
    @JSONField(name = "images")
    private String images;

    @JSONField(name = "name")
    private String name;


    /**
     * 确认人
     **/
    @JSONField(name = "confirmuserid")
    private String confirmuserid;

    /**
     * 多选组件重写get
     **/
    public void getConfirmuserid(String confirmuserid) {
        this.confirmuserid = DataSwapUtil.convertValueToString(confirmuserid, false, false);
    }

    /**
     * 确认时间
     **/
    @JSONField(name = "confirmtime")
    private Long confirmtime;

    /**
     * 创建用户
     **/
    @JSONField(name = "creatoruserid_name")
    private String creatoruserid_name;


    /**
     * 创建时间
     **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(name = "creatortime_name")
    private Date creatortime_name;

    /**
     * 来源
     **/
    @JSONField(name = "source_name")
    private String source_name;


    /**
     * 资产
     **/
    @JSONField(name = "assetsinfoid_name")
    private String assetsinfoid_name;


    /**
     * 责任队
     **/
    @JSONField(name = "selectteam_name")
    private String selectteam_name;


    /**
     * 是否发布
     **/
    @JSONField(name = "enabledmark_name")
    private String enabledmark_name;


    /**
     * 问题
     **/
    @JSONField(name = "question_name")
    private String question_name;


    /**
     * 指导文件
     **/
    @JSONField(name = "files_name")
    private String files_name;


    /**
     * 处理人
     **/
    @JSONField(name = "handleuserid_name")
    private String handleuserid_name;


    /**
     * 处理时间
     **/
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    @JSONField(name = "handletime_name")
    private Date handletime_name;
    /**
     * 处理结果
     **/
    @JSONField(name = "handleresult_name")
    private String handleresult_name;


    /**
     * 再发处理措施
     **/
    @JSONField(name = "prevent_name")
    private String prevent_name;


    /**
     * 图片
     **/
    @JSONField(name = "images_name")
    private String images_name;


    /**
     * 确认人
     **/
    @JSONField(name = "confirmuserid_name")
    private String confirmuserid_name;


    /**
     * 确认时间
     **/
    @JsonFormat(pattern = "yyyy-MM-dd", timezone = "GMT+8")
    @JSONField(name = "confirmtime_name")
    private Date confirmtime_name;

    /**
     * 工单编码
     */
    @JSONField(name = "workEncode")
    private String workEncode;
    @JSONField(name = "workencode_name")
    private String workencode_name;

    /**
     * 发生日期
     */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @JSONField(name = "happenDate")
    private Date happenDate;
    @JSONField(name = "happendate_name")
    private String happendate_name;

    /**
     * 配电室
     */
    @JSONField(name = "pds")
    private String pds;
    @JSONField(name = "pds_name")
    private String pds_name;
    /**
     * 发现人
     */
    @JSONField(name = "field02")
    private String field02;
    @JSONField(name = "field02_name")
    private String field02_name;


    /**
     * 处理内容
     */
    @JSONField(name = "field03")
    private String field03;
    @JSONField(name = "field03_name")
    private String field03_name;


    /**
     * 故障真因
     */
    @JSONField(name = "field04")
    private String field04;
    @JSONField(name = "field04_name")
    private String field04_name;

    @JSONField(name = "isdownload")
    private Integer isdownload;
}
